<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    div {
      border: 1px solid red;
    }

    span {
      font-size: 20px;
      color: purple;
    }
  </style>
</head>

<body>
  <h1>学习前端</h1>
  <h2>学习html+css</h2>
  <p>先学习html,在学习css</p>
  <div>
    <h2>学习js</h2>
    <p>先学习js的基本语法 <span> js是十分重要的</span> </p>
  </div>

</body>

</html>